package com.cly.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(value = "pay-service")
public interface OrderPayFeign {

    /**
     * 查询ali是否成功
     * @param orderNum
     * @return
     */
    @PostMapping("/p/order/queryAliOrderPay")
    Boolean queryAliOrderPay(@RequestBody String orderNum);

}
